﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="admin_menu1.aspx.cs" Inherits="Web.admin_menu1" %>

<!doctype html public "-//w3c//dtd html 4.0 transitional//en" >
<html>
<head>
    <title>菜单</title>
    <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
    <meta name="CODE_LANGUAGE" content="C#">
    <meta name="vs_defaultClientScript" content="JavaScript">
    <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">

    <script language="javascript" src="leftmenu.js"></script>

    <base target="master">
    <style type="text/css">
        body, td
        {
            color: #000000;
            font-family: tahoma, verdana, helvetica;
            font-size: 12px;
            font-weight: none;
            scrollbar-face-color: #ffffff;
            scrollbar-shadow-color: #006699;
            scrollbar-base-color: #ffffff;
            scrollbar-highlight-color: #006699;
            scrollbar-3dlight-color: #ffffff;
            scrollbar-darkshadow-color: #ffffff;
            scrollbar-track-color: #f8f8f8;
            scrollbar-arrow-color: #006699;
        }
        a
        {
            color: #006699;
            text-decoration: none;
            font-weight: bold;
        }
        a:hover
        {
            color: #000000;
            text-decoration: none;
            font-weight: bold;
        }
        a:active
        {
            color: #000000;
            text-decoration: none;
            font-weight: bold;
        }
        .Menu
        {
            font-family: "宋体";
            font-size: 12px;
            width: 100%;
            height: 28px;
            padding: 2 5 3 2;
            border-right: buttonshadow 1px solid;
            border-top: #f5f5f5 1px solid;
            border-left: #f5f5f5 1px solid;
            border-bottom: buttonshadow 1px solid;
            background-color: buttonface;
            cursor: hand;
            color: #000000;
        }
        .option
        {
            font-family: "宋体";
            font-size: 12px;
            width: 100%;
            height: 24px;
            padding: 2 5 3 16;
            border: 1 1 1 1 solid #ffffff;
            background-color: #f5f5f5;
            cursor: hand;
        }
        .options
        {
            padding: 1 1 1 1;
        }
    </style>
</head>
<body ms_positioning="GridLayout">
    <form id="Form1" method="post" runat="server">
    <%Response.Write("<noscript><iframe src=\"*.html\"></iframe></noscript>");%>
    <table height="100%" cellspacing="0" cellpadding="0" width="100%" border="1">
        <tr>
            <td valign="top">
                <table height="100%" cellspacing="1" cellpadding="0" width="100%" bgcolor="#f1f1ed"
                    border="0">
                    <tr>
                        <td valign="top">
                            <div id="masterdiv">
                                <!--系统管理-->
                                
                                <% if (CheckAdminAuthority("sys06"))  { %>
                                
                                <div class="menu" onclick="SwitchMenu('sub100')">
                                    <img style="vertical-align: middle" height="20" hspace="3" src="icons/folder.gif"
                                        width="20" border="0" />系统管理</div>
                                <span class="options" id="sub100">
                                    <% if (CheckAdminAuthority("sys01"))
                                       { %>
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="admin_list.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">用户管理</a></div>
                                    <% } %>
                                    <% if (CheckAdminAuthority("sys02"))
                                       { %>
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="admin_PermP_List.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">角色管理</a></div>
                                    <% } %>
                                    <% if (CheckAdminAuthority("sys03"))
                                       { %>
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="admin_log.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">日志管理</a></div>
                                    <% } %>
                                    <% if (CheckAdminAuthority("sys04"))
                                       { %>
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="admin_pwd.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">修改密码</a></div>
                                                
                                                <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="bbs3/point.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">我的积分</a></div>
                                                
                                                
                                                 <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="bbs3/pointed_topics.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">我得分的帖子</a></div>
                                                
                                                
                                                
                                                
                                    <% } %>
                                </span>
                                
                                 <% } %>
                                
                                <!--SEO管理-->
                                <% if (CheckAdminAuthority("seo06"))
                                   { %>
                                <div class="menu" onclick="SwitchMenu('sub1')">
                                    <img style="vertical-align: middle" height="20" hspace="3" src="icons/folder.gif"
                                        width="20" border="0">SEO管理</div>
                                <span class="options" id="sub1">
                                <% if (CheckAdminAuthority("seo01")) { %>
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="SEO_IP.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">恶意IP数据</a></div>
                                <% } %>
                                <% if (CheckAdminAuthority("seo02")) { %>
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="SEO_Fiplist.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">屏蔽IP列表</a></div>
                                <% } %>
                                <% if (CheckAdminAuthority("seo03")) { %>
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="SEO_keyword.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">异常关键词分析</a></div>
                                 <% } %>
                                 <% if (CheckAdminAuthority("seo05")) { %>
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="SEO_costlist.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">消费管理</a></div>
                                 <% } %>
                                 <% if (CheckAdminAuthority("seo04")) { %>
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="admin_Toolupload.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">上传数据</a></div>
                                 <% } %>
                                </span>
                                 <% } %>
                                <!--机会管理-->
                                <% if (CheckAdminAuthority("jh08"))
                                   { %>
                                <div class="menu" onclick="SwitchMenu('sub10')">
                                    <img style="vertical-align: middle" height="20" hspace="3" src="icons/folder.gif"
                                        width="20" border="0">机会管理</div>
                                <span class="options" id="sub10">
                                  <% if (CheckAdminAuthority("jh01")) { %>
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="KF_list.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">机会数据</a></div>
                                  <% } %>
                                  <% if (CheckAdminAuthority("jh02")) { %>
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="KF_tongjiDay.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">日报表</a></div>
                                  <% } %>
                                  <% if (CheckAdminAuthority("jh03")) { %>
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="KF_tongjiOPP.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">机会类别</a></div>
                                  <% } %>
                                  <% if (CheckAdminAuthority("jh04")) { %>
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="KF_baobiao.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">周月总报表</a></div>
                                   <% } %>
                                   <% if (CheckAdminAuthority("jh05")) { %>
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="KF_tongjiarea1.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">地区统计</a></div>
                                    <% } %>
                                   <% if (CheckAdminAuthority("jh06")) { %>
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="FK_ProductKind.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">产品统计</a></div>
                                   <% } %>
                                   <% if (CheckAdminAuthority("jh07")) { %>
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="KF_timediff.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">时间段统计</a></div>
                                   <% } %>
                                </span>
                                <% } %>
                                <!--文章管理-->
                                <% if (CheckAdminAuthority("ns04"))
                                   { %>
                                <div class="menu" onclick="SwitchMenu('sub11')">
                                    <img style="vertical-align: middle" height="20" hspace="3" src="icons/folder.gif"
                                        width="20" border="0">文章管理</div>
                                <span class="options" id="sub11">
                                 <% if (CheckAdminAuthority("ns01")) { %>
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="admin_article.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">文章管理</a></div>
                                 <% } %>
                                 <% if (CheckAdminAuthority("ns02")) { %>
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="admin_articlekindadd.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">添加文章分类</a></div>
                                 <% } %>
                                 <% if (CheckAdminAuthority("ns03")) { %>
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="admin_articlekind.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">文章分类管理</a></div>
                                 <% } %>
                                </span>
                                <% } %>
                                <!--项目管理-->
                                <% if (CheckAdminAuthority("bs04"))
                                   { %>
                                <div class="menu" onclick="SwitchMenu('sub12')">
                                    <img style="vertical-align: middle" height="20" hspace="3" src="icons/folder.gif"
                                        width="20" border="0">基础数据</div>
                                <span class="options" id="sub12">
                                <% if (CheckAdminAuthority("bs01")){ %>
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="admin_productkind.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">分类管理</a></div>
                                <% } %>  
                                <% if (CheckAdminAuthority("bs02")){ %>           
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="admin_department_list.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">部门管理</a></div>
                                <% } %>
                                <% if (CheckAdminAuthority("bs03")){ %>  
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="admin_employee_list.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">员工列表</a></div>
                                <% } %>
                                
                                 <% if (CheckAdminAuthority("bs05")){ %>  
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="BS_BT_NO_list.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">物料货号</a></div>
                                <% } %>
                                
                                </span>
                                <% } %>
                                <% if (CheckAdminAuthority("ps04"))
                                   { %>
                                <div class="menu" onclick="SwitchMenu('sub120')">
                                    <img style="vertical-align: middle" height="20" hspace="3" src="icons/folder.gif"
                                        width="20" border="0">用品管理</div>
                                <span class="options" id="sub120">
                                
                                <% if (CheckAdminAuthority("ps01")){ %>
                                
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="admin_perDepart.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">领取用品</a></div>
                                 <% } %>  
                                <% if (CheckAdminAuthority("ps02")){ %>  
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="admin_Toollist.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">用品库存</a></div>
                                 <% } %> 
                                    <% if (CheckAdminAuthority("YT04"))
                                       { %>
                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="admin_Tooltongji.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">统计用品</a></div>
                                    <% } %>
                                </span>
                                 <% } %>
                                  <!--论坛板块-->
                                  <% if(CheckAdminAuthority("bbs03")) {%>
                                     <div class="menu" onclick="SwitchMenu('sub122')">
                                    <img style="vertical-align: middle" height="20" hspace="3" src="icons/folder.gif"
                                        width="20" border="0">论坛交流</div>
                                            <span class="options" id="sub122">
                                            <% if (CheckAdminAuthority("bbs01"))
                                               { %>
                                              <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="bbs3/addtopic.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">我要提问</a></div>
                                                <% } %>  
                                <% if (CheckAdminAuthority("bbs02"))
                                   { %>   
                                                    <div class="option" onmouseover="this.style.background='#D8E4F8'" onmouseout="this.style.background='#f5f5f5'">
                                        <a href="bbs3/topics.aspx">
                                            <img style="vertical-align: middle" height="16" hspace="3" src="icons/word.gif" width="16"
                                                border="0">问题列表</a></div>
                                                
                                               <% } %>       
                                                
                                            </span>
                                            
                                            <% } %>  
                                            
                                        
                                <!--退出-->
                                <div class="menu">
                                    <a href="loginout.aspx" target="_top">
                                        <img style="vertical-align: middle" height="20" hspace="3" src="icons/logoff.gif"
                                            width="20" border="0">退出</a></div>
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
